home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
fdc.arc
/
FDC.DOC
next >
Wrap
Text File
|
1985-10-04
|
25KB
|
630 lines
FDC Page 01
-- Full Duplex Communicator --
for the
▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀
▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀
▀▀▀▀ ▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀
▀▀▀▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀
▀▀▀▀ ▀▀▀▀▀▀▀▀ ▀▀ ▀▀▀▀▀▀▀ ▀▀
▀▀▀▀ ▀▀ ▀▀▀▀ ▀▀ ▀▀▀▀▀ ▀▀
▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀▀
▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀ ▀ ▀▀▀▀
Personal Computer
Version 1.00
Copyright (C) 1984,1985 By David J. Skotarczak
All rights to FDC are reserved by D.J.Skotarczak
Note: This DOC file uses IBM graphics and must be transferred using 8 bit.
FDC Page 02
TABLE OF CONTENTS
Page
Introduction.................................. 3
System Diagram................................ 4
Hardware/Software Requirements................ 5
Starting FDC.................................. 6
Automatic Response File.........................7
Using FDC..................................... 8
Keyboard ..................................... 12
Commands...................................... 13
Function Keys................................. 19
Messages...................................... 20
FDC Page 03
INTRODUCTION
FDC is a full duplex data communications program that will
transfer files between two IBM PC's. Your PC must have at least 96k of
memory and one disk. FDC works best at or above 1200 baud. 300 baud
links are supported but console response time is increased. It is not
recommended to run FDC at speeds slower than 300 baud. FDC uses
Asynchronous Data Link Control ( ADLC ) protocol. ADLC is described in
document file ADLC102.DOC. FDC can maintain and control 4 communication
links between the 2 PC's. All 4 links run concurrently.
FDC is a User Supported program. I am requesting a donation of
$20.00 for its use. Those that contribute to FDC's support will receive
announcements of future updates. FDC may be copied and shared with other
private IBM-PC owners, as long as there is no charge for the copy.
Multiple copies of FDC may not be used by corporations or other places
of business. For more information on this program please write to:
David Skotarczak
2113 Admiral Street
Aliquippa , PA 15001
FDC Page 04
SIMPLIFIED DIAGRAM OF TWO PC'S IN AN ADLC (FDC) CONNECTION
╔═══════════════════════╗ ╔═══════════════════════╗
║ IBM PC #1 ║ ║ IBM PC #2 ║
║ FDC control program ║ ╔═══════╗ ╔═══════╗ ║ FDC control program ║
║ screen/keyboard * ╟───╢ MODEM ╟───╢ MODEM ╟───╢ screen/keyboard * ║
║ filenam1.ext ** ║ ╚═══════╝ ╚═══════╝ ║ printer (LPT1:) ** ║
║ filenam2.ext *** ║ ║ filenam4.ext *** ║
║ filenam3.ext **** ║ ║ filenam5.ext **** ║
╚═══════════════════════╝ ╚═══════════════════════╝
* Console communications are always maintained by FDC through
the default monitor device and keyboard using link #1.
** PC #1 can send FILENAM1.EXT to PC #2's printer or
PC #2 can send FILENAM1.EXT to PC #1's printer using link #2
*** PC #1 can send FILENAM2.EXT to PC #2's FILENAM4.EXT or
PC #2 can send FILENAM4.EXT to PC #1's FILENAM2.EXT using link #3
**** PC #1 can send FILENAM3.EXT to PC #2's FILENAM5.EXT or
PC #2 can send FILENAM5.EXT to PC #1's FILENAM3.EXT using link #4
FDC Page 05
HARDWARE/SOFTWARE REQUIREMENTS
IBM-PC
96k Memory
1 Disk Drive
Color or Monochrome adapter
Monitor
Asynchronous Communication Adapter
Modem
IBM-DOS Version 1.1 or higher
This program will not operate on the PCjr.
FDC Page 06
STARTING FDC
To start FDC , at the DOS prompt , type FDC and press return.
The logo screen will print on the default monitor. FDC will
now print:
Enter COM Port (1,2) [1]: _
Enter the communications port that your modem is connected. If your modem is
on port 1 ( COM1: ) , you can just press the return key. Next you will see :
Enter Baud Rate (300,1200,2400) [1200]: _
You can enter any baud rate from 75 to 9600 here. The default is 1200 baud.
It is not recommended to run FDC at speeds slower than 300 baud. Next
you must tell FDC what type of monitor to use:
Enter Monitor Type (MONO,COLOR) [MONO]: _
The monochrome adapter is the default. Some IBM-PC look alikes use a monochrome
display with a graphics adapter card. In this case , you must enter COLOR even
though the display is black and white.
FDC Page 07
AUTOMATIC RESPONSE FILE
All of the above responses may be placed in file FDC.ARF to permit
automatic loading. The sequence is:
com port
baud rate
monitor
Example FDC.ARF automatic response file:
1
1200
COLOR
This will set FDC to 1200 baud on port 1 using the color adapter card.
To create the ARF file , use the DOS copy command ( A>copy con: fdc.arf ) and
enter the three line followed by a CONTROL-Z (^Z) , and the ENTER key.
FDC Page 08
USING FDC
After FDC is loaded , you will notice a solid divider on
line 24. This line separates the OPERATOR INFORMATION AREA ( OIA )
from the rest of the screen. Here is an example of the OIA as seen
when FDC is first loaded.
───────────────────────────────────────────────────────────────────────────────
Ready Terminal Mode LE IN CL NL SL 0
11111111112222222222333333333344444444445555555555666666666677777777778
12345678901234567890123456789012345678901234567890123456789012345678901234567890
│││ │ │ │ │ │ │ └Scroll Lock │
││└Keyboard└System └Mode Indicator/ │ │ │ └Numeric Lock │
││ State State Message Area │ │ └Caps Lock │
││ │ └Insert Mode │
│└─Modem Line └Local Echo Error Counter┘
│ State
│
└──COM Card
State
FDC Page 09
USING FDC...
COM Card State
The communication card is able to send information
to the modem and the REMOTE PC.
L The communication card is in diagnostic wrap mode and
not able to communicate outside the PC.
Modem Line State
(blank) Carrier is not present at the modem. FDC can not send
or receive information.
- Carrier is present at the modem. The LOCAL system
is in NON-FDC state. Normal DUMB terminal operation.
Carrier is present at the modem. An FDC link has been
established between the two PC's.
Keyboard State
The keyboard is ready to accept characters for processing
and/or transmission.
▒ The keyboard is able to accept characters for processing ,
but is unable to transmit to the other PC.
█ The keyboard is locked. No characters can be entered.
FDC Page 10
USING FDC...
System State
Ready Normal dumb terminal operation. As each character is
typed , it is sent out of the COM port to the modem.
FDC-Ready Full duplex operation. As each character is typed , it is
placed in a holding buffer for processing after the ENTER
key is pressed.
Mode Indicator
Terminal When the ENTER key is pressed , the line is not interpreted
as an internal FDC COMMAND. Characters are passed to the
modem and onto the other computer.
Command When the ENTER key is pressed , the line is interpreted
as an internal FDC COMMAND. Characters are not passed to
the other computer.
Keyboard Indicators
LE All characters typed will be echoed to your screen.
IN Insert mode is active. No overstriking of characters.
CL Caps lock is active. No lower case letters.
NL Numeric Lock is active. The cursor control keys are disabled
and the numeric pad is active.
Error Counter
(count) Total retry attempts while in FDC mode.
FDC Page 11
USING FDC...
Here is an example of lines 21 through 25 while in FDC mode ,
before the ENTER key is pressed:
This is a test of FDC_
───────────────────────────────────────────────────────────────────────────────
FDC-Ready Terminal Mode LE IN CL NL SL 0
After the ENTER key is pressed:
This is a test of FDC
_
───────────────────────────────────────────────────────────────────────────────
▒ FDC-Ready Terminal Mode LE IN CL NL SL 0
After the REMOTE PC has acknowledged the message:
This is a test of FDC
_
───────────────────────────────────────────────────────────────────────────────
FDC-Ready Terminal Mode LE IN CL NL SL 0
FDC Page 12
KEYBOARD
The keyboard has two modes of operation. They are TERMINAL mode and
COMMAND mode. While in TERMINAL mode , any characters you type will be sent
to the REMOTE PC. In COMMAND mode however, the characters you type are sent
to FDC and are interpreted as an internal command. To switch between COMMAND
and TERMINAL modes, hold down the CTRL key and press the ENTER key. This is
what I will refer to as a CONTROL-ENTER. CONTROL-ENTER can be used at any
time to toggle between COMMAND and TERMINAL mode.
CONTROL-ENTER Toggle between TERMINAL and COMMAND mode
ENTER Send line to other PC or process command if in COMMAND mode
HOME Move cursor to position one of current line
CONTROL-HOME Move cursor to line one , position 1
END Move Cursor to last character position of current line
CONTROL-END Move Cursor to line 23 , position 1
PgUp Set left margin. ENTER key will reset to column one
Arrow Keys Positions cursor on screen
Insert Toggle overstrike mode
Delete Erase character and reformat line
BACKSPACE Erase character
TAB Move right 8 positions
FDC Page 13
COMMANDS
FDC supports the following commands. To enter a command , put FDC
in COMMAND mode by using CONTROL-ENTER. Then type the command followed by
the ENTER key. The brackets [] indicate optional information that may not
have to be entered.
CLS clear screen
COPY [/][d:]source.ext [[/][d:]dest.ext]
DATE [mm-dd-[yy]yy]
DIAL modem command
DIR [/][d:][filename.ext]
DROP link#
ECHO toggle Local Echo
ID request version from other station
LOOP toggle COM card wrap mode
QUIT return to DOS
RESTART
STAT display FDC link status
TIME [hh:mm[:ss]]
FDC Page 14
COMMANDS...
CLS ALT-C
Clears the screen.
COPY [/][d:]source.ext [[/][d:]dest.ext]
The COPY command is similar to the PC-DOS COPY command. Notice
the addition of the slash (/). This character is used to
indicate a file name on the REMOTE system. For example:
[ COPY A:FDC.EXE /B:FDC.EXE ] will copy FDC.EXE from your
drive a: , to the REMOTE system's drive B:. Here are a few
examples of the COPY command and what they will do.
COPY /A:FDC.DOC copy file from REMOTE drive A: to your drive A:
COPY C:FDC.ARF copy file from your dive C: to the REMOTE drive C:
COPY A:ABC.1 /A:DEF.2 copy file ABC from your drive A: to REMOTE file DEF.2
COPY A:DMS /LPT1: copy file from your drive A: to the REMOTE printer
COPY /A:FDC.DOC LPT1: copy file from REMOTE drive A: to your printer
COPY /C:DOC NUL.111 copy file from REMOTE drive C: to a NUL file (TEST ONLY)
Invalid Devices: KYBD: CAS1: CAS2: COM1: COM2: AUX: CON:
Valid Devices: LPT1: LPT2: SCRN: NUL.xxx
FDC Page 15
COMMANDS...
DATE [mm-dd-[yy]yy] ALT-D
The DATE command with no parameters will display the current
date. DATE with mm-dd-yy parameter will set the date.
DIAL modem command
Sends a command to a smart modem. For example: DIAL ATD412-
276-1269 will tell a Hayes modem to dial 412-276-1269
DIR [/][d:][filename.ext]
List file names from disk. Notice the slash again. It is
again used to indicate the REMOTE system. For example:
DIR /B:*.COM will list all files with the .COM extension from the REMOTE PC.
DIR C: will list all files from your drive C:
DROP link#
The DROP command is used to prematurely end a file transfer.
Use the STAT (ALT-S) command to see the link number for the
file you want to abort. [ DROP 2 ] will stop a file exchange
on link #2.
FDC Page 16
COMMANDS...
ECHO ALT-E
Toggle local echo. The only time you would want to use
this command is when testing via the ATS16=1C1D Hayes
command or LOOP (ALT-L) wrap command.
ID ALT-I
Request version from other station
LOOP ALT-L
This command will toggle the IBM COM1: or COM2: card's
ability to do a diagnostic wrap. Using ALT-L , followed
by CTR-F1 , will run FDC as if it were connected to another
PC. All data is wrapped back into the PC for hardware
verification.
QUIT Exit FDC and Return to DOS
RESTART CONTROL-BREAK
Restart FDC
FDC Page 17
COMMANDS...
STAT ALT-S Print statistics on all links. Example:
T.Link Status Time Bytes Sent Waiting EST Name
1 ACTIVE 40.0 124 0 0.0 Console
2 INACTIVE 40.0 0 0 0.0
3 ACTIVE 10.0 60,128 5,024 1.0 TESTFILE.XXX
4 INACTIVE 20.0 0 0 0.0
R.Link Status Time Bytes Received Name
1 ACTIVE 40.0 381 Console
2 INACTIVE 40.0
3 INACTIVE 10.0
4 ACTIVE 5.0 30,265 SAMPLE.UCS
The above report means you are sending file TESTFILE.XXX to the other PC using
link #3. That link has been running for 10 minutes and has sent 60,128 bytes
with 5,024 bytes left to go. Estimated remaining transfer time is 1 minute.
You are receiving file SAMPLE.UCS from the other PC on link #4. Link #4 has
been running for 5 minutes. Link #2 has been inactive for 40 minutes.
Link #1 has been active for 40 minutes.
FDC Page 18
COMMANDS...
TIME [hh:mm[:ss]] ALT-T
The TIME command with no parameters will display the current
time. TIME with hh:mm:ss parameter will set the time.
FDC Page 19
FUNCTION KEYS
F1 Display the help menu.
F10 Send "Message Pending" message to other station
When in FDC mode , the other PC user will not know
if you are entering a message. Use F10 key to let
him/her know you are building a message to send.
Control-F1 This key is used to initialize an FDC session between
the two PC's. After pressing Control-F1 , the program
will switch to FDC mode if not already there , and
attempt to communicate to the other machine using
ADLC protocol. If no response is received , one retry
will be attempted. If still no response is received,
FDC mode will be turned off. If the other machine is
capable of FDC mode , the message "Remote Station On-line"
will be displayed. You can now begin console communication
file and file transfers.
FDC Page 20
MESSAGES
All Links Are In Use COPY request can not be completed because no links
are available for the transfer.
Copy Aborted Copy command was not completed due an error
or <A>bort request
Copy In Progress Copy request is in progress
Dropping Link: xx , yy Transfer has ended on link xx. There were yy
Bytes NOT Transferred bytes that have not been transferred. If this yy
number is anything other than 0 , an incomplete
file has been created and data has been lost.
End of List Displayed at the end of any DIR request
Error Recovery In An error has been detected on link xx . Retry
Progress On Link xx procedures are automatically invoked to try and
correct the problem. Normally cause by phone line
noise.
FDC Page 21
MESSAGES...
Error Opening File: An open error has occurred. This can be caused
[ xxx ] by copying to a printer that is turned off.
Error in OUTPUT File xxx can not be opened or created. Check
File: [ xxx ] the file name , ext , drive , or device name.
File Not Found: File xxx is not found on the specified drive.
[ xxx ]
INPUT Can Not Be Invalid file name in COPY command
A Device
INPUT File: [ xxx ] The REMOTE PC has opened input file xxx
Has Been Opened By
Remote Station
LOCAL Read Error An error occurred while reading from disk.
Dropping Link # xx The transfer is canceled on link xx.
FDC Page 22
MESSAGES...
LOCAL Write Error An error occurred while writing to disk.
Dropping Link # xx The transfer is canceled on link xx.
Message Pending The other PC operator is getting ready to
send a message to you.
OUTPUT File: [ xxx ] File xxx has been found to already exist. It you
Will Be Overwritten... want to erase this file , use <C> for continue.
<C>ontinue <A>bort <A> will cancel the transfer.
OUTPUT File: [ xxx ] The REMOTE PC has opened output file xxx
Has Been Opened By
Remote Station
OUTPUT Can Not Be Invalid file name in COPY command
A Device
FDC Page 23
MESSAGES...
OUTPUT Device Invalid file name in COPY command
is Invalid
Proceed: You have sent the "MESSAGE PENDING" message to
the other PC, FDC is ready for you message now.
Requested Function Various functions are not allowed and certain times.
Has Been Disabled For example , if you try to use the COPY command
when not in FDC mode , or try to initialize a
session ( CONTROL-F1 ) when carrier is not active.
Requested Link Trying to use the DROP command to an inactive
Is Not Active link.
Requested Link Trying to transfer more than two files or trying
Is In Use to use more than one device (LPT1: and SCRN:).
Remote Station On-Line The FDC link has been initialize and the other
computer is ready to communicate.
FDC Page 24
MESSAGES...
REMOTE Station Has A message has been sent to the other PC , but
Failed To Respond no response was received.
Restart In Progress Control-Break or RESTART command has been given.
Session Terminated The REMOTE PC has canceled the communication
By REMOTE Station link between the two PC's by using a DROP 1 command.
Source/Destination When using the COPY command , one file must be LOCAL,
Conflict that is , no slash [/] in front of file name , the
other must be REMOTE , a slash must be used in name.
Syntax Error Invalid COMMAND parameter.
Successful An error has been corrected on link xx.
Recovery: xx No information has been lost. The transfer continues.
Testing Remote An inquiry has been sent to the REMOTE PC.
Station
FDC Page 25
MESSAGES...
Unrecoverable Error: xx Three consecutive errors were detected on link
xx. FDC will now try to DROP that link.
Unknown Command You have entered and invalid or misspelled command.
Waiting For Link During the setup for a file transfer , all running
Enable Command are stopped , then after the transfer begins , you
can use the keyboard again.
Waiting For Console A message has been sent to the other PC , and
Acknowledge you are trying to send another before the last
one has been acknowledged.
Write Attempted To The other PC has attempted to send a block
Inactive Link of data the an inactive link address.
XMITTER RETURN Fatal Communication Error , information has been
CODE UNKNOWN xx lost. Restart both systems and retry the operation.
FDC Page 26
MESSAGES...
XMITTER NOT READY , Fatal Communication Error , information has been
TIMEOUT: xx lost. Restart both systems and retry the operation.
XMITTER WAS NOT Fatal Communication Error , information has been
READY (2) lost. Restart both systems and retry the operation.
XMITT STRING TOO Fatal Communication Error , information has been
LONG (3) lost. Restart both systems and retry the operation.